﻿using System;

namespace b3
{
    class Program
    {
        static void Main(string[] args)
        {
            int[]arr;
            arr = new int[101];
            for(int i=0;i<=100;i++)
            {
                arr[i] = i;
            }
           
            for (int i = 2; i <= 100; i++)
            {                
                    for (int j = 2 * i; j <= 100; j += i)
                    {
                        arr[j] = 0;
                    }              
            }
           
            for (int i=1;i<=100;i++)
                {
                if (arr[i] != 0)
                    Console.WriteLine(arr[i]);
                }
           
        }
    }
}
